{extend name="main/index" /}
{block name="main"}
 
<div class="content-page">
	<div class="row mt50" style ="margin-top:200px;">
        <div class="col-md-12">
            <table class="table table-hover table-bordered bg-info">
                <tr>
                    <th>ID</th>
                    <th>节点</th>
                    <th>控制器名</th>
                    <th>方法名</th>
                    <th>ACTION</th>
                </tr>
                {volist name="list" id="v" mod="1"}
                {eq name="mod" value="0"}
                <tr>
                    <td class="col-md-2">{$v['id']}</td>
                    <td class="col-md-2">{$v['nodename']}</td>
                    <td class="col-md-2">{$v['controllername']}</td>
                    <td class="col-md-2">{$v['functionname']}</td>
                    <td class="col-md-4">
                        <!-- <a href="{:url('rest/user/readpage',['id'=>$v['id']])}" class="btn btn-xs btn-default">查看信息(页)</a> -->
                        <!-- <button data-id="{$v['id']}" class="btn btn-xs btn-default show-btn" data-toggle="modal"
                                data-target="#myModal">查看信息(框)
                        </button> -->
                        <a href="{:url('rest/user/edit',['id'=>$v['id']])}" class="btn btn-xs btn-primary">编辑</a>
                        <button data-id="{$v['id']}" class="btn btn-xs btn-danger del-btn">删除</button>
                    </td>
                </tr>
                {/eq}
                {/volist}
            </table>
        </div>
	</div>
</div>

{/block}